/**
  ******************************************************************************
  * @file    Console.h 

  ******************************************************************************
*/

/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __CONSOLE_H
#define __CONSOLE_H

/* Includes ------------------------------------------------------------------*/
#include "stm32f10x.h"
#include "Queue.h"

/* Exported types ------------------------------------------------------------*/


/* Exported constants --------------------------------------------------------*/
/* Exported macro ------------------------------------------------------------*/
/* Exported functions ------------------------------------------------------- */
void Console_Init(void);
void UART_IRQ_Tx(void);
void UART_IRQ_Rx(void);

void Console_Write(char *buf, unsigned short count);
unsigned short Console_Read(char *buf, unsigned short count);

extern QBuf ConRxBuf;
extern QBuf ConTxBuf;

#endif /* __CONSOLE_H */

